package com.css.zfzx.fxpg.modules.percent.economicloss.repository;

import com.css.zfzx.fxpg.modules.percent.economicloss.repository.entity.FxEconomicLossEntity;
import com.css.zfzx.fxpg.modules.percent.economicloss.viewobjects.FxEconomicLossQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-17
 */
public interface FxEconomicLossNativeRepository {

    Page<FxEconomicLossEntity> queryFxEconomicLosss(FxEconomicLossQueryParams queryParams, int curPage, int pageSize);

    List<FxEconomicLossEntity> listFxEconomicLosss(FxEconomicLossQueryParams queryParams);

}
